﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Sisocana.Core.Models.ImagenModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Delete Image Contents 
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<script src="<%: Url.Content("~/Scripts/jquery.validate.min.js") %>" type="text/javascript"></script>
<script src="<%: Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js") %>" type="text/javascript"></script>
<script src="<%: Url.Content("~/Scripts/jquery-1.5.1.js") %>" type="text/javascript"></script>
<script src="<%: Url.Content("~/Scripts/jquery-ui-1.8.11.js") %>" type="text/javascript"></script>
<link href="<%: Url.Content("~/Content/themes/base/jquery.ui.all.css") %>" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
    $(document).ready(function () {

        $("button, input:submit , input:file ").button();
    });
</script>
<h2>Delete Image Contents </h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    

    <b><div class="display-label">Name</div></b>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.nombre) %>
    </div>

    <b><div class="display-label">Description</div></b>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.descripcion) %>
    </div>

   <b> <div class="display-label">Web</div></b>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.pagWeb) %>
    </div>
</fieldset>
<% using (Html.BeginForm()) { %>
    <%: Html.ValidationSummary(true, "The are problems with the delete operation, maybe the current item is associated")%>
    <%: Html.HiddenFor(model => model.nombre)  %> 
    <%: Html.HiddenFor(model => model.descripcion)%> 
    <%: Html.HiddenFor(model => model.pagWeb)%> 
    <p>
        <input type="submit" value="Delete" /> |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>
<% } %>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>
